<?php
/**
 * Kunena Component
 * @package Kunena.Administrator.Template
 * @subpackage Common
 *
 * @copyright (C) 2008 - 2012 Kunena Team. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.kunena.org
 **/
defined ( '_JEXEC' ) or die ();

// Load Mootools
if (version_compare(JVERSION, '1.6','>')) {
	// Joomla 1.6+
	JHtml::_('behavior.framework', true);
	JHtml::_('script','system/multiselect.js',false,true);
} else {
	// Joomla 1.5
	JHtml::_('behavior.mootools');
}
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
?>
<div id="kadmin-menu">
	<a class="kadmin-mainmenu icon-cp-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena') ?>"><?php echo JText::_('COM_KUNENA_CP'); ?></a>
	<a class="kadmin-mainmenu icon-config-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=config') ?>"><?php echo JText::_('COM_KUNENA_C_KCONFIG'); ?></a>
	<a class="kadmin-mainmenu icon-adminforum-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=categories') ?>"><?php echo JText::_('COM_KUNENA_C_FORUM'); ?></a>
	<a class="kadmin-mainmenu icon-profiles-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=users') ?>"><?php echo JText::_('COM_KUNENA_C_USER'); ?></a>
	<a class="kadmin-mainmenu icon-template-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=templates') ?>"><?php echo JText::_('COM_KUNENA_A_TEMPLATE_MANAGER'); ?></a>
	<a class="kadmin-mainmenu icon-smilies-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=smilies') ?>"><?php echo JText::_('COM_KUNENA_EMOTICONS_EMOTICON_MANAGER'); ?></a>
	<a class="kadmin-mainmenu icon-ranks-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=ranks') ?>"><?php echo JText::_('COM_KUNENA_A_RANK_MANAGER'); ?></a>
	<a class="kadmin-mainmenu icon-files-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=attachments') ?>"><?php echo JText::_('COM_KUNENA_ATTACHMENTS_VIEW'); ?></a>
	<!-- a class="kadmin-mainmenu icon-topicicons-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=topicicons') ?>"><?php echo JText::_('COM_KUNENA_A_TOPICICONS_MANAGER'); ?></a -->
	<a class="kadmin-mainmenu icon-trash-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=trash') ?>"><?php echo JText::_('COM_KUNENA_TRASH_VIEW'); ?></a>
	<a class="kadmin-mainmenu icon-prune-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=tools') ?>"><?php echo JText::_('COM_KUNENA_A_VIEW_TOOLS'); ?></a>
	<a class="kadmin-mainmenu icon-stats-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=stats') ?>"><?php echo JText::_('COM_KUNENA_STATS_GEN_STATS'); ?></a>
	<a class="kadmin-mainmenu icon-systemreport-sm" href="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=report') ?>"><?php echo JText::_('COM_KUNENA_REPORT_SYSTEM'); ?></a>
	<a class="kadmin-mainmenu icon-pluginsmanager-sm" href="<?php echo JRoute::_('index.php?option=com_plugins&view=plugins&filter_'.(version_compare(JVERSION, '1.6', '>') ? 'folder' : 'type').'=kunena') ?>"><?php echo JText::_('COM_KUNENA_PLUGINS_MANAGER'); ?></a>
	<a class="kadmin-mainmenu icon-support-sm" href="http://www.kunena.org" target="_blank"><?php echo JText::_('COM_KUNENA_C_SUPPORT'); ?></a>
</div>
